﻿using System;
using vroom.wcf.common.service;

namespace vroom.wcf.service.common
{
	public interface ICacheWrapper
	{
		int CacheManagerUpdateDurationInMinutes { get; }
		bool CacheOnStart { get; }
		bool Contains(string objectKey);
		int DaysToLoadPriorToToday { get; }
		double EvictFromCacheDurationInHours { get; }
		System.Collections.Generic.IEnumerable<string> Getkeys();
		int MaxWaitForObjectToPopulateDurationInSeconds { get; }
		void Remove(string objectKey);
		void Set(ICachedObject objectToCache, string objectKey);
		string TablesToCache { get; }
		void Trim();
		ICachedObject TryGet(string objectKey);
	}
}
